/**
 * @description 组件样式
 * @author: 陈陈
 * @date: 2025/05/09
 * @phone: 18560000860
 * @email: 18560000860@qq.com
 * @company: 济南晨霜信息技术有限公司 /
 * @business: 承接前后端项目的开发
 */
.pure-theme {
	position: relative;

	&::before {
		content: "";
		position: absolute;
		z-index: 0;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		border-radius: inherit;
		background: var(--pure-theme-value);
		opacity: var(--pure-theme-background-opacity);
	}

	&__content {
		position: relative;
		z-index: 1;
	}

	&--theme {
		border-color: var(--pure-theme-border-color, var(--pure-theme-value));
		color: var(--pure-theme-color, var(--pure-text-color-invert));
	}

	&--ghost {
		color: var(--pure-theme-color, var(--pure-theme-value));

		&::before {
			opacity: var(--pure-theme-background-opacity, var(--pure-opacity-ghost));
		}
	}

	&--plain {
		color: var(--pure-theme-color, var(--pure-theme-value));
		border: var(
			--pure-theme-border,
			var(--pure-theme-border-width, 1px) var(--pure-theme-border-style, solid)
				var(--pure-theme-border-color, var(--pure-theme-value))
		);

		&::before {
			opacity: var(--pure-theme-background-opacity, 0);
		}
	}
}
